Total Complexity | 8 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 68 |
Lines of code | 42 |
Logical lines of code | 18 |
Comment lines | 18 |
Methods | 4 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_post() | 57 | 3 | 17 | |
__construct() | 65 | 3 | 9 | |
register_rest_route() | 62 | 1 | 13 | |
permission_callback() | 81 | 1 | 3 |